﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetPE.TreeNodes
{
    class ByteArrNode : BaseNode
    {
        public ByteArrNode(byte[] b,string txt)
            : base(b)
        {
            this.b = b;
            this.Text = txt;
            this.ImageIndex = this.SelectedImageIndex = NodeType.Header;
        }

        byte[] b;
        public override object Data { get { return b; } }

        public override BaseEditor GetEditorControl()
        {
            return new HexEditor();
        }
    }
}
